<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box {
      width: 100px;
      height: 200px;
      background-color: pink;
      border-radius: 50px;
    }
    .box--border {
      border: 30px solid #f90;
    }
    .box--padding {
      padding: 30px;
      background-origin: padding-box;
      background-clip: content-box,padding-box;
      background-image: 
        linear-gradient(134deg, #3023ae 0%, #c86dd7 100%),
        linear-gradient(134deg, #f90 0%, #f90 100%);
    }
    /* 这个没能实现预想中的效果 */
    .box--border--padding {
      padding: 30px;
      border: 30px solid #f36;
      background-image: 
        linear-gradient(134deg, #3023ae 0%, #c86dd7 100%),
        linear-gradient(134deg, #f90 0%, #f90 100%)
      ;
    }
  </style>
</head>
<body>
  <div class="box box--border">
  </div>
  <div class="box box--padding">
  </div>
  <div class="box box--border--padding">
  </div>
</body>
</html>